package com.four.marketing.service;

import com.four.marketing.entity.Allocation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 侯新伟
 * @since 2021-12-14
 */
public interface AllocationService extends IService<Allocation> {
    /**
     * 秒杀列表
     * @param seName
     * @param allStatus
     * @return
     */
    List<Allocation> allocationList(String seName, String allStatus);

    /**
     * 秒杀删除
     * @param id
     */
    void allocationDelete(Integer id);

    /**
     * 添加秒杀配置
     * @param allocation
     */
    void allocationAdd(Allocation allocation);

    /**
     * 秒杀编辑
     * @param allocation
     */
    void allocationUpdate(Allocation allocation);


}
